package com.ruoyi.data.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 美团外卖商户对象 merchant
 * 
 * @author shushuang
 * @date 2019-09-25
 */
public class Merchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String merchantname;

    /** 商家地址 */
    @Excel(name = "商家地址")
    private String merchantaddress;

    /** 商家电话 */
    @Excel(name = "商家电话")
    private String merchantphone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMerchantname(String merchantname) 
    {
        this.merchantname = merchantname;
    }

    public String getMerchantname() 
    {
        return merchantname;
    }
    public void setMerchantaddress(String merchantaddress) 
    {
        this.merchantaddress = merchantaddress;
    }

    public String getMerchantaddress() 
    {
        return merchantaddress;
    }
    public void setMerchantphone(String merchantphone) 
    {
        this.merchantphone = merchantphone;
    }

    public String getMerchantphone() 
    {
        return merchantphone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantname", getMerchantname())
            .append("merchantaddress", getMerchantaddress())
            .append("merchantphone", getMerchantphone())
            .toString();
    }
}
